import { defHttp } from "@/utils/http";
export const createApi = {
	//获取发起流程导航
	category: async (params?: any) => {
		return await defHttp.get({ url: "/bpm/category/simple-list", params });
	},
	//获取发起流程导航
	processDefinitionList: async (suspensionState: any = 1) => {
		return await defHttp.get({ url: `/bpm/process-definition/list?suspensionState=${suspensionState}` });
	}
};
